package com.demo.mapper;

import com.demo.dao.Gpa;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface GpaMapper {

    int getRankBySid(String sid,String term);
    double getCreditBySid(String sid,String term);
    void insertCredit(Gpa gpa);
}
